﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using Bookkeeping.Core.Entities;

namespace Bookkeeping.Core.Persistence
{
    public interface IPostRepository : IRepository<Post, int>
    {
        IEnumerable<Post> GetAllByMonth(DateTime date);
        IEnumerable<Post> GetAllByMonthWithTagsLoaded(DateTime date);

        IEnumerable<Post> GetSavings();
        IEnumerable<Post> GetIncomes();
        IEnumerable<Post> GetExpenses();

        IEnumerable<Post> GetExpensesByMonth(DateTime date);
        IEnumerable<Post> GetIncomesByMonth(DateTime date);
        IEnumerable<Post> GetSavingsByMonth(DateTime date);
    }
}